package com.fowo.api.syncLingxingApi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fowo.api.entity.Product;
import com.fowo.api.syncLingxingApi.entity.TmpSyncLingxingToProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TmpSyncLingxingToProductMapper extends BaseMapper<TmpSyncLingxingToProduct> {
    Integer updateToProducts(String version);

    Integer insertToProducts(String version);

    void deleteAll();

    List<Product> getProductBySku(@Param("skus") List<String> skus);
}
